#include <dao.h>
#include <btBulletDynamicsCommon.h>

#include "btCollisionConfiguration.h"
#include "btDefaultCollisionConfiguration.h"

static void construct(DaoContext *ctx, DValue *p[], int N) {
    btCollisionConfiguration* ptr = new btDefaultCollisionConfiguration();

    DaoCData *cdata = DaoContext_PutCData(ctx, ptr, &btDefaultCollisionConfigurationTyper);
};

static void destruct(void *self) {
//    delete (btDefaultCollisionConfiguration*) self;
}

static DaoFuncItem meth[] = {
    { construct,		"btDefaultCollisionConfiguration()" },
    { NULL, NULL }
};

DaoTypeBase btDefaultCollisionConfigurationTyper = {
    "btDefaultCollisionConfiguration",
    NULL,
    NULL,               			/* constant */
    meth,       				/* methods */
    { &btCollisionConfigurationTyper, NULL },   /* parent type */
    { NULL },
    destruct,
    NULL
};
